<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
if($_RQ['op']=='get'){
	$return['ischecklogin']=model('core/core')->checklogin('','',true);
	$_SESSION['logout_forward']='core/member.mybank/';
	$return['member']=$member;
	$parms=array('uniacid'=>$_SESSION['uniacid']);
	if($_RQ['ismobile']){
		$mobile=pdo_getcolumn('core_members',array('id'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']),'mobile');
		$parms['mobile OR']='mobile='.$mobile.' or mid='.$_SESSION['uid'];
	}
	if(!$parms['mobile']){
		$parms['mid']=$_SESSION['uid'];
	}
	if($_RQ['passed']){
		$parms['passed']=$_RQ['passed'];
	}
	$return['list']=pdo_getall('core_member_bank',$parms);
	foreach($return['list'] as &$item){
		$item['pcd']=json_decode($item['pcd'],true);
	}
	set_html('title','我的银行卡');
	exi($return);
}